package com.ruoyi.project.device.device.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备保养记录对象 bas_device_conserve
 * 
 * @author wld
 * @date 2023-04-04
 */
public class BasDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String deviceType;

    /** 是否锁定 */
    @Excel(name = "是否锁定")
    private String locked;

    /** 保养周期 */
    @Excel(name = "保养周期(月)'")
    private String maintenanceCycle;

    /** 保养内容 */
    @Excel(name = "保养内容")
    private String maintenanceRange;

    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeviceType(String deviceType) 
    {
        this.deviceType = deviceType;
    }

    public String getDeviceType() 
    {
        return deviceType;
    }
    public void setLocked(String locked) 
    {
        this.locked = locked;
    }

    public String getLocked() 
    {
        return locked;
    }
    public void setMaintenanceCycle(String maintenanceCycle) 
    {
        this.maintenanceCycle = maintenanceCycle;
    }

    public String getMaintenanceCycle() 
    {
        return maintenanceCycle;
    }
    public void setMaintenanceRange(String maintenanceRange) 
    {
        this.maintenanceRange = maintenanceRange;
    }

    public String getMaintenanceRange() 
    {
        return maintenanceRange;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("deviceName", getDeviceName())
            .append("deviceType", getDeviceType())
            .append("locked", getLocked())
            .append("maintenanceCycle", getMaintenanceCycle())
            .append("maintenanceRange", getMaintenanceRange())
            .toString();
    }
}
